Skip to main content

API Calling Convension

  • All APIs are accessed through HTTP GET, with the following required headers:
HeaderValueDescription
x-api-keystringnot enabled yet, not necessary
content-typetype of content in the requesttmust be application/json
  • The response would always be a JSON object with the following members:
ParameterDescription
Status0 for success, otherwise the request has failed
Messagedetailed failure message
Resultreturned data, can be either json object or array

Sample response to a succeeded request:

{
"Status": 0,
"Message": "success",
"Result": {...}
}

Sample response to a failed request:

{
"Status": 21000,
"Message": "Txn Not Found"
}